﻿#ifndef __SS_COLOR_RENDER_H__
#define __SS_COLOR_RENDER_H__
#include "ssMeshRender.h"


namespace StarSeeker
{

class ssColorRender : public ssMeshRender
{
public:
	ssColorRender();
	~ssColorRender();
	//颜色数据
	bool SetColor(u32 num, f32* pc);
	//使用模型对象设置渲染数据
	virtual void SetDataFromMesh(const char* uri);
protected:
	virtual void OnRenderBegin();
	virtual void OnRenderEnd();

protected:
	ssVBOBind*			m_color;		//顶点颜色
	ssShaderAttribute	m_colorAttrib;
};

}
#endif
